package com.my.sharding.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.my.sharding.entiy.Test;
import com.my.sharding.mapper.TestMapper;
import com.my.sharding.service.TestService;

@Service
public class TestServiceImpl implements TestService{

	@Autowired
	private TestMapper testMapper;
	
	@Override
	public boolean add(Test t) {
		return 1>=testMapper.insert(t)?true:false;
	}

}
